package fr.alma.trajectory.commons;

import javax.vecmath.Point3d;

/**
 * 
 * Un point de l'espace 3D
 * @author gouzy && ian
 */
public class SpacePoint extends Point3d {
	
	private static final long serialVersionUID = 1L;
	
	public SpacePoint(Double x, Double y, Double z) {
		super(x, y, z);
	}
	
	public Double getX(){
		return x;
	}
	
	public Double getY(){
		return y;
	}

	public Double getZ(){
		return z;
	}

	public void setX(Double x){
		this.x = x;
	}

	public void setY(Double y){
		this.y = y;
	}

	public void setZ(Double z){
		this.z = z;
	}

	@Override
	public String toString(){
		return "("+x+","+y+","+z+")";
	}
	
}
